package singlemodel.hunger;

public class Hungry {
    private static Hungry hungry=new Hungry();

    private Hungry(){
        System.out.println("饿汉模式");
    }

    public static Hungry getInstance(){
        return hungry;
    }
}
